package com.adinnet.admin.child.service;

import com.adinnet.admin.child.model.Child;
import com.adinnet.admin.child.model.form.ChildForm;
import com.adinnet.admin.child.model.form.ChildRankForm;
import com.adinnet.admin.child.model.vo.ChildRank;
import com.adinnet.admin.child.model.vo.ChildReq;
import com.adinnet.admin.child.model.vo.ChildResp;
import com.adinnet.core.JsonResult;
import com.adinnet.core.PageResult;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 儿童表 服务类
 * </p>
 *
 * @author zYshuai
 * @since 2020-12-11
 */
public interface ChildService extends IService<Child> {

    PageResult<ChildRank> queryRankList(ChildRankForm form);

    PageResult<ChildResp> queryChildList(ChildForm childForm);

    Integer addNewChild(ChildReq childReq);

    Integer editChild(ChildReq childReq);

    JsonResult deleteIds(String childIds);
}
